import service from "../utils/request";

//登录
export function adminLogin( payload = {} ){
    return service.post( '/admin/login', payload )
}
//用户列表
export function adminList( payload = {} ){
    return service.get( '/admin/list', { params:payload } )
}
//添加用户
export function adminAdd( payload = {} ){
    return service.post( '/admin/add', payload )
}
//编辑用户
export function adminUpdate( payload = {} ){
    return service.post( '/admin/update', payload )
}
//删除用户
export function adminDel( payload = {} ){
    return service.post( '/admin/delete', payload )
}
//...
